<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>test_api_result</title>
    <meta name="generator" content="HTMLTestRunner 0.8.2"/>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    
<style type="text/css" media="screen">
body        { font-family: verdana, arial, helvetica, sans-serif; font-size: 80%; }
table       { font-size: 100%; }
pre         { }

/* -- heading ---------------------------------------------------------------------- */
h1 {
    font-size: 16pt;
    color: gray;
}
.heading {
    margin-top: 0ex;
    margin-bottom: 1ex;
}

.heading .attribute {
    margin-top: 1ex;
    margin-bottom: 0;
}

.heading .description {
    margin-top: 4ex;
    margin-bottom: 6ex;
}

/* -- css div popup ------------------------------------------------------------------------ */
a.popup_link {
}

a.popup_link:hover {
    color: red;
}

.popup_window {
    display: none;
    position: relative;
    left: 0px;
    top: 0px;
    /*border: solid #627173 1px; */
    padding: 10px;
    background-color: #E6E6D6;
    font-family: "Lucida Console", "Courier New", Courier, monospace;
    text-align: left;
    font-size: 8pt;
    width: 500px;
}

}
/* -- report ------------------------------------------------------------------------ */
#show_detail_line {
    margin-top: 3ex;
    margin-bottom: 1ex;
}
#result_table {
    width: 80%;
    border-collapse: collapse;
    border: 1px solid #777;
}
#header_row {
    font-weight: bold;
    color: white;
    background-color: #777;
}
#result_table td {
    border: 1px solid #777;
    padding: 2px;
}
#total_row  { font-weight: bold; }
.passClass  { background-color: #6c6; }
.failClass  { background-color: #c60; }
.errorClass { background-color: #c00; }
.passCase   { color: #6c6; }
.failCase   { color: #c60; font-weight: bold; }
.errorCase  { color: #c00; font-weight: bold; }
.hiddenRow  { display: none; }
.testcase   { margin-left: 2em; }


/* -- ending ---------------------------------------------------------------------- */
#ending {
}

</style>

</head>
<body>
<script language="javascript" type="text/javascript"><!--
output_list = Array();

/* level - 0:Summary; 1:Failed; 2:All */
function showCase(level) {
    trs = document.getElementsByTagName("tr");
    for (var i = 0; i < trs.length; i++) {
        tr = trs[i];
        id = tr.id;
        if (id.substr(0,2) == 'ft') {
            if (level < 1) {
                tr.className = 'hiddenRow';
            }
            else {
                tr.className = '';
            }
        }
        if (id.substr(0,2) == 'pt') {
            if (level > 1) {
                tr.className = '';
            }
            else {
                tr.className = 'hiddenRow';
            }
        }
    }
}


function showClassDetail(cid, count) {
    var id_list = Array(count);
    var toHide = 1;
    for (var i = 0; i < count; i++) {
        tid0 = 't' + cid.substr(1) + '.' + (i+1);
        tid = 'f' + tid0;
        tr = document.getElementById(tid);
        if (!tr) {
            tid = 'p' + tid0;
            tr = document.getElementById(tid);
        }
        id_list[i] = tid;
        if (tr.className) {
            toHide = 0;
        }
    }
    for (var i = 0; i < count; i++) {
        tid = id_list[i];
        if (toHide) {
            document.getElementById('div_'+tid).style.display = 'none'
            document.getElementById(tid).className = 'hiddenRow';
        }
        else {
            document.getElementById(tid).className = '';
        }
    }
}


function showTestDetail(div_id){
    var details_div = document.getElementById(div_id)
    var displayState = details_div.style.display
    // alert(displayState)
    if (displayState != 'block' ) {
        displayState = 'block'
        details_div.style.display = 'block'
    }
    else {
        details_div.style.display = 'none'
    }
}


function html_escape(s) {
    s = s.replace(/&/g,'&');
    s = s.replace(/</g,'<');
    s = s.replace(/>/g,'>');
    return s;
}

/* obsoleted by detail in <div>
function showOutput(id, name) {
    var w = window.open("", //url
                    name,
                    "resizable,scrollbars,status,width=800,height=450");
    d = w.document;
    d.write("<pre>");
    d.write(html_escape(output_list[id]));
    d.write("\n");
    d.write("<a href='javascript:window.close()'>close</a>\n");
    d.write("</pre>\n");
    d.close();
}
*/
--></script>

<div class='heading'>
<h1>test_api_result</h1>
<p class='attribute'><strong>Start Time:</strong> 2024-06-26 17:53:04</p>
<p class='attribute'><strong>Duration:</strong> 0:00:03.234682</p>
<p class='attribute'><strong>Status:</strong> Pass 1 Failure 2</p>

<p class='description'></p>
</div>



<p id='show_detail_line'>Show
<a href='javascript:showCase(0)'>Summary</a>
<a href='javascript:showCase(1)'>Failed</a>
<a href='javascript:showCase(2)'>All</a>
</p>
<table id='result_table'>
<colgroup>
<col align='left' />
<col align='right' />
<col align='right' />
<col align='right' />
<col align='right' />
<col align='right' />
</colgroup>
<tr id='header_row'>
    <td>Test Group/Test case</td>
    <td>Count</td>
    <td>Pass</td>
    <td>Fail</td>
    <td>Error</td>
    <td>View</td>
</tr>

<tr class='failClass'>
    <td>Testlogin</td>
    <td>3</td>
    <td>1</td>
    <td>2</td>
    <td>0</td>
    <td><a href="javascript:showClassDetail('c1',3)">Detail</a></td>
</tr>

<tr id='ft1.1' class='none'>
    <td class='failCase'><div class='testcase'>test01_0_test1</div></td>
    <td colspan='5' align='center'>

    <!--css div popup start-->
    <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_ft1.1')" >
        fail</a>

    <div id='div_ft1.1' class="popup_window">
        <div style='text-align: right; color:red;cursor:pointer'>
        <a onfocus='this.blur();' onclick="document.getElementById('div_ft1.1').style.display = 'none' " >
           [x]</a>
        </div>
        <pre>
        
ft1.1: Traceback (most recent call last):
  File "C:\Users\origi\AppData\Local\Programs\Python\Python312\Lib\site-packages\parameterized\parameterized.py", line 620, in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "c:\Users\origi\Desktop\python\test20220615\test2.py", line 30, in test01
    self.assertIn("process_message",req.text)
AssertionError: 'process_message' not found in '&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;\n&lt;html&gt;\n  &lt;head&gt;\n  &lt;meta http-equiv=\'Content-Type\' content=\'text/html; charset=utf-8\'/&gt;\n  &lt;meta http-equiv="X-UA-Compatible" content="IE=edge"&gt;\n\t&lt;meta HTTP-EQUIV="pragma" CONTENT="no-cache"&gt;\n\t&lt;meta HTTP-EQUIV="Cache-Control" CONTENT="no-store, must-revalidate"&gt;\n\t&lt;meta HTTP-EQUIV="expires" CONTENT="0"&gt;   \n  &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;\n  &lt;title&gt;中国电信智能网关&lt;/title&gt;\n  &lt;link rel="shortcut icon" href="/luci-static/resources/image/favicon.ico"&gt;\n  &lt;link rel="bookmark" href="/luci-static/resources/image/favicon.ico"&gt;   \n  &lt;link href="/luci-static/resources/css/login.css?version=4920" rel="stylesheet"&gt;\n  &lt;script src="/luci-static/resources/js/jquery.js?version=4920"&gt;&lt;/script&gt; \n  &lt;script src="/luci-static/resources/js/util.js?version=4920"&gt;&lt;/script&gt;\n  &lt;script src="/luci-static/resources/js/login.js?version=4920"&gt;&lt;/script&gt;\n  &lt;script&gt;\n\n\twindow.onload =function() {console.log("The device support WiFi: " + 1);\n\n\tconsole.log("The device support USB: " + 1);\n\n\tconsole.log("The device type: " + 8);\n\n\twindow.sessionStorage.setItem("hasWiFi", 1);\n\twindow.sessionStorage.setItem("hasUsb", 1);\n\twindow.sessionStorage.setItem("hasMesh", 0);\n\twindow.sessionStorage.setItem("devType", 8);\n\t}\n  \t\n  \tfunction hideHint()\n  \t{\n  \t\t$(".login-input").children(":last").remove();\n  \t\t$("#login_username").removeAttr("disabled");\n\t\t$("#login_password").removeAttr("disabled");\t\t\n  \t} \t\n  &lt;/script&gt;\n  &lt;/head&gt;\n  &lt;body onkeydown=\'keyCapscheck(event, 1)\'&gt;\n  &lt;div class="login_bg"&gt;\n\t&lt;form method="post" id="argform"&gt;\n\t\t&lt;input type="hidden" name="username" id="username" value="telecomadmin" /&gt;\t\t\n\t\t&lt;input type="hidden" name="psd" id="psd" value="" /&gt;\t\t\t\n\t\t&lt;input type="submit" style="display:none"/&gt;\n\t&lt;/form&gt;&lt;div class="logo"&gt;&lt;img src="/luci-static/resources/image/logo_tianyi.png" alt="logo"&gt;&lt;/div&gt;\n    &lt;div class="line" id="line" name="line"&gt;\n      &lt;table align=left cellpadding=0 cellspace=0 border=0&gt;\n        &lt;tr&gt;\n          &lt;td id="line1" name="line1" valign="top"&gt;\n          &lt;img src="/luci-static/resources/image/line.png" style="opacity:0.2;"&gt;\n        &lt;/td&gt;\n        &lt;td id="line2" name="line2" valign="top"&gt;\n          &lt;img src="/luci-static/resources/image/line.png" style="margin-left:-3px;opacity:0.2;"&gt;  \n        &lt;/td&gt;\n        &lt;/tr&gt;\n      &lt;/table&gt;\n    &lt;/div&gt;\n    &lt;script&gt;\n    if (bType == "IE8")\n    {\n\t\tvar speed=6;\n\t\tconsole.log("Current broswer is IE8.");\n\t    function Marquee(){\n\t      if(document.getElementById("line2").offsetWidth-document.getElementById("line").scrollLeft&lt;=0)\n\t        document.getElementById("line").scrollLeft-=document.getElementById("line1").offsetWidth;\n\t      else{\n\t        document.getElementById("line").scrollLeft++;\n\t      }\n\t    }\n\t   \tsetInterval(Marquee,speed);\n   \t}\n    &lt;/script&gt;\n    &lt;div id=\'copyright_div\'&gt;\n\t  Copyright (C) 2015 中国电信 All rights reserved.&amp;nbsp;&amp;nbsp;\n\t  &lt;script&gt;\n\t\tif ((location.host.indexOf(":") != -1) &amp;&amp; (location.host[0] != "["))\n\t\t\tvar hosturl = "[" + location.host + "]";\n\t\telse\n\t\t\tvar hosturl = location.host;\n\n  \t\tdocument.write("&lt;a href=\'" + location.protocol + "//" + hosturl + ":8080/maintain" + "\'&gt;快速装维入口&lt;/a&gt;");\n\t  &lt;/script&gt;\n\t&lt;/div&gt;\n  &lt;/div&gt;\n   \n  &lt;div class="container-fluid login_block"&gt;\n    &lt;div class="row" id="login_setup_div" &gt;\n      &lt;div class="content-left" id="login_tip"&gt;\n        &lt;img src="/luci-static/resources/image/login/login-tip.png" width="470" height="283" alt=""/&gt; \n      &lt;/div&gt;\n      &lt;div class="content-right content-offset"&gt;\n\t\t&lt;br/&gt;\n        &lt;br/&gt;\n    \t&lt;font face="微软雅黑" style="font-size: 20px;"&gt;用户登录&lt;/font&gt;\n        &lt;font face="Arial" style="font-size: 14px;"&gt;&amp;nbsp;LOGIN&lt;/font&gt;\n        &lt;form id="login_form" method="post" action="/cgi-bin/luci" onsubmit="return checkPassword();"&gt;\n          &lt;div class="login-input"&gt;\n            &lt;div class="login-block" style="background:white url(/luci-static/resources/image/login/login_user-1.png) no-repeat left;"&gt;\n               &lt;input type="text" placeholder="Username" class="form-control" id="login_username" name="username" value="useradmin"&gt;\n            &lt;/div&gt;\n            &lt;div class="login-block password_block" style="background:white url(/luci-static/resources/image/login/login_password-1.png) no-repeat left;"&gt;\n               &lt;input id="login_password" name="psd" type="password" placeholder="Password" class="form-control login-password"  autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" AutoCompleteType="Disabled" maxLength="128" onkeypress ="detectCapsLock(event, 1, \'login\')"&gt;\n               &lt;span class="pwd-show-switch filled" id="login_password_show"&gt;&lt;/span&gt;\n            &lt;/div&gt;\n\t\t\t\t\t\t&lt;div id=\'promptText1\' style="display:none;"&gt;&lt;span style="border: 1px solid #dbdbdb;position:relative;top:0;left:50px;height:auto; font-size:12px;font-family: \'Microsoft YaHei\', \'Microsoft sans-serif\';display:inline;color:black;"&gt;大写锁定键已开启，请注意大小写&lt;/span&gt;&lt;/div&gt;\n            \t\n            \t  &lt;div&gt;&lt;font face="\'Microsoft YaHei\', \'Microsoft sans-serif\';" style="font-size: 14px; color:#aaa"&gt;密码错误，请重新输入！&lt;/font&gt;&lt;/div&gt;\n            \t\n\t        &lt;/div&gt;\n          &lt;button type="submit" class="btn"&gt;确认登录&lt;/button&gt;\n        &lt;/form&gt;\n        &lt;/div&gt;\n      &lt;/div&gt;\n    &lt;/div&gt;\n\n  &lt;/body&gt;\n&lt;/html&gt;\n'
Traceback (most recent call last):
  File "C:\Users\origi\AppData\Local\Programs\Python\Python312\Lib\site-packages\parameterized\parameterized.py", line 620, in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "c:\Users\origi\Desktop\python\test20220615\test2.py", line 30, in test01
    self.assertIn("process_message",req.text)
AssertionError: 'process_message' not found in '&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;\n&lt;html&gt;\n  &lt;head&gt;\n  &lt;meta http-equiv=\'Content-Type\' content=\'text/html; charset=utf-8\'/&gt;\n  &lt;meta http-equiv="X-UA-Compatible" content="IE=edge"&gt;\n\t&lt;meta HTTP-EQUIV="pragma" CONTENT="no-cache"&gt;\n\t&lt;meta HTTP-EQUIV="Cache-Control" CONTENT="no-store, must-revalidate"&gt;\n\t&lt;meta HTTP-EQUIV="expires" CONTENT="0"&gt;   \n  &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;\n  &lt;title&gt;中国电信智能网关&lt;/title&gt;\n  &lt;link rel="shortcut icon" href="/luci-static/resources/image/favicon.ico"&gt;\n  &lt;link rel="bookmark" href="/luci-static/resources/image/favicon.ico"&gt;   \n  &lt;link href="/luci-static/resources/css/login.css?version=4920" rel="stylesheet"&gt;\n  &lt;script src="/luci-static/resources/js/jquery.js?version=4920"&gt;&lt;/script&gt; \n  &lt;script src="/luci-static/resources/js/util.js?version=4920"&gt;&lt;/script&gt;\n  &lt;script src="/luci-static/resources/js/login.js?version=4920"&gt;&lt;/script&gt;\n  &lt;script&gt;\n\n\twindow.onload =function() {console.log("The device support WiFi: " + 1);\n\n\tconsole.log("The device support USB: " + 1);\n\n\tconsole.log("The device type: " + 8);\n\n\twindow.sessionStorage.setItem("hasWiFi", 1);\n\twindow.sessionStorage.setItem("hasUsb", 1);\n\twindow.sessionStorage.setItem("hasMesh", 0);\n\twindow.sessionStorage.setItem("devType", 8);\n\t}\n  \t\n  \tfunction hideHint()\n  \t{\n  \t\t$(".login-input").children(":last").remove();\n  \t\t$("#login_username").removeAttr("disabled");\n\t\t$("#login_password").removeAttr("disabled");\t\t\n  \t} \t\n  &lt;/script&gt;\n  &lt;/head&gt;\n  &lt;body onkeydown=\'keyCapscheck(event, 1)\'&gt;\n  &lt;div class="login_bg"&gt;\n\t&lt;form method="post" id="argform"&gt;\n\t\t&lt;input type="hidden" name="username" id="username" value="telecomadmin" /&gt;\t\t\n\t\t&lt;input type="hidden" name="psd" id="psd" value="" /&gt;\t\t\t\n\t\t&lt;input type="submit" style="display:none"/&gt;\n\t&lt;/form&gt;&lt;div class="logo"&gt;&lt;img src="/luci-static/resources/image/logo_tianyi.png" alt="logo"&gt;&lt;/div&gt;\n    &lt;div class="line" id="line" name="line"&gt;\n      &lt;table align=left cellpadding=0 cellspace=0 border=0&gt;\n        &lt;tr&gt;\n          &lt;td id="line1" name="line1" valign="top"&gt;\n          &lt;img src="/luci-static/resources/image/line.png" style="opacity:0.2;"&gt;\n        &lt;/td&gt;\n        &lt;td id="line2" name="line2" valign="top"&gt;\n          &lt;img src="/luci-static/resources/image/line.png" style="margin-left:-3px;opacity:0.2;"&gt;  \n        &lt;/td&gt;\n        &lt;/tr&gt;\n      &lt;/table&gt;\n    &lt;/div&gt;\n    &lt;script&gt;\n    if (bType == "IE8")\n    {\n\t\tvar speed=6;\n\t\tconsole.log("Current broswer is IE8.");\n\t    function Marquee(){\n\t      if(document.getElementById("line2").offsetWidth-document.getElementById("line").scrollLeft&lt;=0)\n\t        document.getElementById("line").scrollLeft-=document.getElementById("line1").offsetWidth;\n\t      else{\n\t        document.getElementById("line").scrollLeft++;\n\t      }\n\t    }\n\t   \tsetInterval(Marquee,speed);\n   \t}\n    &lt;/script&gt;\n    &lt;div id=\'copyright_div\'&gt;\n\t  Copyright (C) 2015 中国电信 All rights reserved.&amp;nbsp;&amp;nbsp;\n\t  &lt;script&gt;\n\t\tif ((location.host.indexOf(":") != -1) &amp;&amp; (location.host[0] != "["))\n\t\t\tvar hosturl = "[" + location.host + "]";\n\t\telse\n\t\t\tvar hosturl = location.host;\n\n  \t\tdocument.write("&lt;a href=\'" + location.protocol + "//" + hosturl + ":8080/maintain" + "\'&gt;快速装维入口&lt;/a&gt;");\n\t  &lt;/script&gt;\n\t&lt;/div&gt;\n  &lt;/div&gt;\n   \n  &lt;div class="container-fluid login_block"&gt;\n    &lt;div class="row" id="login_setup_div" &gt;\n      &lt;div class="content-left" id="login_tip"&gt;\n        &lt;img src="/luci-static/resources/image/login/login-tip.png" width="470" height="283" alt=""/&gt; \n      &lt;/div&gt;\n      &lt;div class="content-right content-offset"&gt;\n\t\t&lt;br/&gt;\n        &lt;br/&gt;\n    \t&lt;font face="微软雅黑" style="font-size: 20px;"&gt;用户登录&lt;/font&gt;\n        &lt;font face="Arial" style="font-size: 14px;"&gt;&amp;nbsp;LOGIN&lt;/font&gt;\n        &lt;form id="login_form" method="post" action="/cgi-bin/luci" onsubmit="return checkPassword();"&gt;\n          &lt;div class="login-input"&gt;\n            &lt;div class="login-block" style="background:white url(/luci-static/resources/image/login/login_user-1.png) no-repeat left;"&gt;\n               &lt;input type="text" placeholder="Username" class="form-control" id="login_username" name="username" value="useradmin"&gt;\n            &lt;/div&gt;\n            &lt;div class="login-block password_block" style="background:white url(/luci-static/resources/image/login/login_password-1.png) no-repeat left;"&gt;\n               &lt;input id="login_password" name="psd" type="password" placeholder="Password" class="form-control login-password"  autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" AutoCompleteType="Disabled" maxLength="128" onkeypress ="detectCapsLock(event, 1, \'login\')"&gt;\n               &lt;span class="pwd-show-switch filled" id="login_password_show"&gt;&lt;/span&gt;\n            &lt;/div&gt;\n\t\t\t\t\t\t&lt;div id=\'promptText1\' style="display:none;"&gt;&lt;span style="border: 1px solid #dbdbdb;position:relative;top:0;left:50px;height:auto; font-size:12px;font-family: \'Microsoft YaHei\', \'Microsoft sans-serif\';display:inline;color:black;"&gt;大写锁定键已开启，请注意大小写&lt;/span&gt;&lt;/div&gt;\n            \t\n            \t  &lt;div&gt;&lt;font face="\'Microsoft YaHei\', \'Microsoft sans-serif\';" style="font-size: 14px; color:#aaa"&gt;密码错误，请重新输入！&lt;/font&gt;&lt;/div&gt;\n            \t\n\t        &lt;/div&gt;\n          &lt;button type="submit" class="btn"&gt;确认登录&lt;/button&gt;\n        &lt;/form&gt;\n        &lt;/div&gt;\n      &lt;/div&gt;\n    &lt;/div&gt;\n\n  &lt;/body&gt;\n&lt;/html&gt;\n'


        </pre>
    </div>
    <!--css div popup end-->

    </td>
</tr>

<tr id='ft1.2' class='none'>
    <td class='failCase'><div class='testcase'>test01_1_test2</div></td>
    <td colspan='5' align='center'>

    <!--css div popup start-->
    <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_ft1.2')" >
        fail</a>

    <div id='div_ft1.2' class="popup_window">
        <div style='text-align: right; color:red;cursor:pointer'>
        <a onfocus='this.blur();' onclick="document.getElementById('div_ft1.2').style.display = 'none' " >
           [x]</a>
        </div>
        <pre>
        
ft1.2: Traceback (most recent call last):
  File "C:\Users\origi\AppData\Local\Programs\Python\Python312\Lib\site-packages\parameterized\parameterized.py", line 620, in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "c:\Users\origi\Desktop\python\test20220615\test2.py", line 30, in test01
    self.assertIn("process_message",req.text)
AssertionError: 'process_message' not found in '&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;\n&lt;html&gt;\n  &lt;head&gt;\n  &lt;meta http-equiv=\'Content-Type\' content=\'text/html; charset=utf-8\'/&gt;\n  &lt;meta http-equiv="X-UA-Compatible" content="IE=edge"&gt;\n\t&lt;meta HTTP-EQUIV="pragma" CONTENT="no-cache"&gt;\n\t&lt;meta HTTP-EQUIV="Cache-Control" CONTENT="no-store, must-revalidate"&gt;\n\t&lt;meta HTTP-EQUIV="expires" CONTENT="0"&gt;   \n  &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;\n  &lt;title&gt;中国电信智能网关&lt;/title&gt;\n  &lt;link rel="shortcut icon" href="/luci-static/resources/image/favicon.ico"&gt;\n  &lt;link rel="bookmark" href="/luci-static/resources/image/favicon.ico"&gt;   \n  &lt;link href="/luci-static/resources/css/login.css?version=4920" rel="stylesheet"&gt;\n  &lt;script src="/luci-static/resources/js/jquery.js?version=4920"&gt;&lt;/script&gt; \n  &lt;script src="/luci-static/resources/js/util.js?version=4920"&gt;&lt;/script&gt;\n  &lt;script src="/luci-static/resources/js/login.js?version=4920"&gt;&lt;/script&gt;\n  &lt;script&gt;\n\n\twindow.onload =function() {console.log("The device support WiFi: " + 1);\n\n\tconsole.log("The device support USB: " + 1);\n\n\tconsole.log("The device type: " + 8);\n\n\twindow.sessionStorage.setItem("hasWiFi", 1);\n\twindow.sessionStorage.setItem("hasUsb", 1);\n\twindow.sessionStorage.setItem("hasMesh", 0);\n\twindow.sessionStorage.setItem("devType", 8);\n\t}\n  \t\n  \tfunction hideHint()\n  \t{\n  \t\t$(".login-input").children(":last").remove();\n  \t\t$("#login_username").removeAttr("disabled");\n\t\t$("#login_password").removeAttr("disabled");\t\t\n  \t} \t\n  &lt;/script&gt;\n  &lt;/head&gt;\n  &lt;body onkeydown=\'keyCapscheck(event, 1)\'&gt;\n  &lt;div class="login_bg"&gt;\n\t&lt;form method="post" id="argform"&gt;\n\t\t&lt;input type="hidden" name="username" id="username" value="telecomadmin" /&gt;\t\t\n\t\t&lt;input type="hidden" name="psd" id="psd" value="" /&gt;\t\t\t\n\t\t&lt;input type="submit" style="display:none"/&gt;\n\t&lt;/form&gt;&lt;div class="logo"&gt;&lt;img src="/luci-static/resources/image/logo_tianyi.png" alt="logo"&gt;&lt;/div&gt;\n    &lt;div class="line" id="line" name="line"&gt;\n      &lt;table align=left cellpadding=0 cellspace=0 border=0&gt;\n        &lt;tr&gt;\n          &lt;td id="line1" name="line1" valign="top"&gt;\n          &lt;img src="/luci-static/resources/image/line.png" style="opacity:0.2;"&gt;\n        &lt;/td&gt;\n        &lt;td id="line2" name="line2" valign="top"&gt;\n          &lt;img src="/luci-static/resources/image/line.png" style="margin-left:-3px;opacity:0.2;"&gt;  \n        &lt;/td&gt;\n        &lt;/tr&gt;\n      &lt;/table&gt;\n    &lt;/div&gt;\n    &lt;script&gt;\n    if (bType == "IE8")\n    {\n\t\tvar speed=6;\n\t\tconsole.log("Current broswer is IE8.");\n\t    function Marquee(){\n\t      if(document.getElementById("line2").offsetWidth-document.getElementById("line").scrollLeft&lt;=0)\n\t        document.getElementById("line").scrollLeft-=document.getElementById("line1").offsetWidth;\n\t      else{\n\t        document.getElementById("line").scrollLeft++;\n\t      }\n\t    }\n\t   \tsetInterval(Marquee,speed);\n   \t}\n    &lt;/script&gt;\n    &lt;div id=\'copyright_div\'&gt;\n\t  Copyright (C) 2015 中国电信 All rights reserved.&amp;nbsp;&amp;nbsp;\n\t  &lt;script&gt;\n\t\tif ((location.host.indexOf(":") != -1) &amp;&amp; (location.host[0] != "["))\n\t\t\tvar hosturl = "[" + location.host + "]";\n\t\telse\n\t\t\tvar hosturl = location.host;\n\n  \t\tdocument.write("&lt;a href=\'" + location.protocol + "//" + hosturl + ":8080/maintain" + "\'&gt;快速装维入口&lt;/a&gt;");\n\t  &lt;/script&gt;\n\t&lt;/div&gt;\n  &lt;/div&gt;\n   \n  &lt;div class="container-fluid login_block"&gt;\n    &lt;div class="row" id="login_setup_div" &gt;\n      &lt;div class="content-left" id="login_tip"&gt;\n        &lt;img src="/luci-static/resources/image/login/login-tip.png" width="470" height="283" alt=""/&gt; \n      &lt;/div&gt;\n      &lt;div class="content-right content-offset"&gt;\n\t\t&lt;br/&gt;\n        &lt;br/&gt;\n    \t&lt;font face="微软雅黑" style="font-size: 20px;"&gt;用户登录&lt;/font&gt;\n        &lt;font face="Arial" style="font-size: 14px;"&gt;&amp;nbsp;LOGIN&lt;/font&gt;\n        &lt;form id="login_form" method="post" action="/cgi-bin/luci" onsubmit="return checkPassword();"&gt;\n          &lt;div class="login-input"&gt;\n            &lt;div class="login-block" style="background:white url(/luci-static/resources/image/login/login_user-1.png) no-repeat left;"&gt;\n               &lt;input type="text" placeholder="Username" class="form-control" id="login_username" name="username" value="useradmin"&gt;\n            &lt;/div&gt;\n            &lt;div class="login-block password_block" style="background:white url(/luci-static/resources/image/login/login_password-1.png) no-repeat left;"&gt;\n               &lt;input id="login_password" name="psd" type="password" placeholder="Password" class="form-control login-password"  autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" AutoCompleteType="Disabled" maxLength="128" onkeypress ="detectCapsLock(event, 1, \'login\')"&gt;\n               &lt;span class="pwd-show-switch filled" id="login_password_show"&gt;&lt;/span&gt;\n            &lt;/div&gt;\n\t\t\t\t\t\t&lt;div id=\'promptText1\' style="display:none;"&gt;&lt;span style="border: 1px solid #dbdbdb;position:relative;top:0;left:50px;height:auto; font-size:12px;font-family: \'Microsoft YaHei\', \'Microsoft sans-serif\';display:inline;color:black;"&gt;大写锁定键已开启，请注意大小写&lt;/span&gt;&lt;/div&gt;\n            \t\n            \t  &lt;div&gt;&lt;font face="\'Microsoft YaHei\', \'Microsoft sans-serif\';" style="font-size: 14px; color:#aaa"&gt;密码错误，请重新输入！&lt;/font&gt;&lt;/div&gt;\n            \t\n\t        &lt;/div&gt;\n          &lt;button type="submit" class="btn"&gt;确认登录&lt;/button&gt;\n        &lt;/form&gt;\n        &lt;/div&gt;\n      &lt;/div&gt;\n    &lt;/div&gt;\n\n  &lt;/body&gt;\n&lt;/html&gt;\n'
Traceback (most recent call last):
  File "C:\Users\origi\AppData\Local\Programs\Python\Python312\Lib\site-packages\parameterized\parameterized.py", line 620, in standalone_func
    return func(*(a + p.args), **p.kwargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "c:\Users\origi\Desktop\python\test20220615\test2.py", line 30, in test01
    self.assertIn("process_message",req.text)
AssertionError: 'process_message' not found in '&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;\n&lt;html&gt;\n  &lt;head&gt;\n  &lt;meta http-equiv=\'Content-Type\' content=\'text/html; charset=utf-8\'/&gt;\n  &lt;meta http-equiv="X-UA-Compatible" content="IE=edge"&gt;\n\t&lt;meta HTTP-EQUIV="pragma" CONTENT="no-cache"&gt;\n\t&lt;meta HTTP-EQUIV="Cache-Control" CONTENT="no-store, must-revalidate"&gt;\n\t&lt;meta HTTP-EQUIV="expires" CONTENT="0"&gt;   \n  &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;\n  &lt;title&gt;中国电信智能网关&lt;/title&gt;\n  &lt;link rel="shortcut icon" href="/luci-static/resources/image/favicon.ico"&gt;\n  &lt;link rel="bookmark" href="/luci-static/resources/image/favicon.ico"&gt;   \n  &lt;link href="/luci-static/resources/css/login.css?version=4920" rel="stylesheet"&gt;\n  &lt;script src="/luci-static/resources/js/jquery.js?version=4920"&gt;&lt;/script&gt; \n  &lt;script src="/luci-static/resources/js/util.js?version=4920"&gt;&lt;/script&gt;\n  &lt;script src="/luci-static/resources/js/login.js?version=4920"&gt;&lt;/script&gt;\n  &lt;script&gt;\n\n\twindow.onload =function() {console.log("The device support WiFi: " + 1);\n\n\tconsole.log("The device support USB: " + 1);\n\n\tconsole.log("The device type: " + 8);\n\n\twindow.sessionStorage.setItem("hasWiFi", 1);\n\twindow.sessionStorage.setItem("hasUsb", 1);\n\twindow.sessionStorage.setItem("hasMesh", 0);\n\twindow.sessionStorage.setItem("devType", 8);\n\t}\n  \t\n  \tfunction hideHint()\n  \t{\n  \t\t$(".login-input").children(":last").remove();\n  \t\t$("#login_username").removeAttr("disabled");\n\t\t$("#login_password").removeAttr("disabled");\t\t\n  \t} \t\n  &lt;/script&gt;\n  &lt;/head&gt;\n  &lt;body onkeydown=\'keyCapscheck(event, 1)\'&gt;\n  &lt;div class="login_bg"&gt;\n\t&lt;form method="post" id="argform"&gt;\n\t\t&lt;input type="hidden" name="username" id="username" value="telecomadmin" /&gt;\t\t\n\t\t&lt;input type="hidden" name="psd" id="psd" value="" /&gt;\t\t\t\n\t\t&lt;input type="submit" style="display:none"/&gt;\n\t&lt;/form&gt;&lt;div class="logo"&gt;&lt;img src="/luci-static/resources/image/logo_tianyi.png" alt="logo"&gt;&lt;/div&gt;\n    &lt;div class="line" id="line" name="line"&gt;\n      &lt;table align=left cellpadding=0 cellspace=0 border=0&gt;\n        &lt;tr&gt;\n          &lt;td id="line1" name="line1" valign="top"&gt;\n          &lt;img src="/luci-static/resources/image/line.png" style="opacity:0.2;"&gt;\n        &lt;/td&gt;\n        &lt;td id="line2" name="line2" valign="top"&gt;\n          &lt;img src="/luci-static/resources/image/line.png" style="margin-left:-3px;opacity:0.2;"&gt;  \n        &lt;/td&gt;\n        &lt;/tr&gt;\n      &lt;/table&gt;\n    &lt;/div&gt;\n    &lt;script&gt;\n    if (bType == "IE8")\n    {\n\t\tvar speed=6;\n\t\tconsole.log("Current broswer is IE8.");\n\t    function Marquee(){\n\t      if(document.getElementById("line2").offsetWidth-document.getElementById("line").scrollLeft&lt;=0)\n\t        document.getElementById("line").scrollLeft-=document.getElementById("line1").offsetWidth;\n\t      else{\n\t        document.getElementById("line").scrollLeft++;\n\t      }\n\t    }\n\t   \tsetInterval(Marquee,speed);\n   \t}\n    &lt;/script&gt;\n    &lt;div id=\'copyright_div\'&gt;\n\t  Copyright (C) 2015 中国电信 All rights reserved.&amp;nbsp;&amp;nbsp;\n\t  &lt;script&gt;\n\t\tif ((location.host.indexOf(":") != -1) &amp;&amp; (location.host[0] != "["))\n\t\t\tvar hosturl = "[" + location.host + "]";\n\t\telse\n\t\t\tvar hosturl = location.host;\n\n  \t\tdocument.write("&lt;a href=\'" + location.protocol + "//" + hosturl + ":8080/maintain" + "\'&gt;快速装维入口&lt;/a&gt;");\n\t  &lt;/script&gt;\n\t&lt;/div&gt;\n  &lt;/div&gt;\n   \n  &lt;div class="container-fluid login_block"&gt;\n    &lt;div class="row" id="login_setup_div" &gt;\n      &lt;div class="content-left" id="login_tip"&gt;\n        &lt;img src="/luci-static/resources/image/login/login-tip.png" width="470" height="283" alt=""/&gt; \n      &lt;/div&gt;\n      &lt;div class="content-right content-offset"&gt;\n\t\t&lt;br/&gt;\n        &lt;br/&gt;\n    \t&lt;font face="微软雅黑" style="font-size: 20px;"&gt;用户登录&lt;/font&gt;\n        &lt;font face="Arial" style="font-size: 14px;"&gt;&amp;nbsp;LOGIN&lt;/font&gt;\n        &lt;form id="login_form" method="post" action="/cgi-bin/luci" onsubmit="return checkPassword();"&gt;\n          &lt;div class="login-input"&gt;\n            &lt;div class="login-block" style="background:white url(/luci-static/resources/image/login/login_user-1.png) no-repeat left;"&gt;\n               &lt;input type="text" placeholder="Username" class="form-control" id="login_username" name="username" value="useradmin"&gt;\n            &lt;/div&gt;\n            &lt;div class="login-block password_block" style="background:white url(/luci-static/resources/image/login/login_password-1.png) no-repeat left;"&gt;\n               &lt;input id="login_password" name="psd" type="password" placeholder="Password" class="form-control login-password"  autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" AutoCompleteType="Disabled" maxLength="128" onkeypress ="detectCapsLock(event, 1, \'login\')"&gt;\n               &lt;span class="pwd-show-switch filled" id="login_password_show"&gt;&lt;/span&gt;\n            &lt;/div&gt;\n\t\t\t\t\t\t&lt;div id=\'promptText1\' style="display:none;"&gt;&lt;span style="border: 1px solid #dbdbdb;position:relative;top:0;left:50px;height:auto; font-size:12px;font-family: \'Microsoft YaHei\', \'Microsoft sans-serif\';display:inline;color:black;"&gt;大写锁定键已开启，请注意大小写&lt;/span&gt;&lt;/div&gt;\n            \t\n            \t  &lt;div&gt;&lt;font face="\'Microsoft YaHei\', \'Microsoft sans-serif\';" style="font-size: 14px; color:#aaa"&gt;密码错误，请重新输入！&lt;/font&gt;&lt;/div&gt;\n            \t\n\t        &lt;/div&gt;\n          &lt;button type="submit" class="btn"&gt;确认登录&lt;/button&gt;\n        &lt;/form&gt;\n        &lt;/div&gt;\n      &lt;/div&gt;\n    &lt;/div&gt;\n\n  &lt;/body&gt;\n&lt;/html&gt;\n'


        </pre>
    </div>
    <!--css div popup end-->

    </td>
</tr>

<tr id='pt1.3' class='hiddenRow'>
    <td class='none'><div class='testcase'>test01_2_useradmin</div></td>
    <td colspan='5' align='center'>pass</td>
</tr>

<tr id='total_row'>
    <td>Total</td>
    <td>3</td>
    <td>1</td>
    <td>2</td>
    <td>0</td>
    <td> </td>
</tr>
</table>

<div id='ending'> </div>

</body>
</html>
